package org.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 考察记录表实体类
 */
@Data
public class InspectionRecord {
    /**
     * 记录ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 考察人ID
     */
    private Long userId;

    /**
     * 考察日期
     */
    private LocalDate inspectionDate;

    /**
     * 思想动态
     */
    private String thoughtDynamic;

    /**
     * 现实表现
     */
    private String realityPerformance;

    /**
     * 考察结论
     */
    private String conclusion;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 记录人ID
     */
    private Integer applicantId;

    @TableField(exist = false)
    private String nickName;
}
